home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 9 / FM Towns Free Software Collection 9.iso / t_os / tool / otohime / src / otohime.h < prev    next >
Text File  |  1994-11-16  |  2KB  |  63 lines

  1. /* otosub */
  2. extern int mouseSwCheck() ;
  3. extern int sndPlay() ;
  4. extern int sndBufTrans() ;
  5. extern int unDo() ;
  6. extern int setMsgColor( int, int ) ;
  7. extern int sndInf() ;
  8. extern int errorCheck( int ) ;
  9.  
  10. /* otfile */
  11. extern int sndRec() ;
  12. extern int sndMix() ;
  13.  
  14. /* oteff1 */
  15. extern int sndEffectPhaseShift() ;
  16. extern int sndEffectEcho() ;
  17. extern int sndEffectVibrato() ;
  18. extern int sndEffectTremolo() ;
  19.  
  20. /* oteff2 */
  21. extern int sndEffectVoiceChange() ;
  22. extern int sndEffectHarmony() ;
  23. extern int sndEffectExpand() ;
  24. extern int sndEffectLevel() ;
  25. extern int sndEffectPitch() ;
  26. extern int sndEffectSampSet() ;
  27.  
  28. /* oteff3 */
  29. extern int sndEffectHead() ;
  30. extern int sndEffectFade() ;
  31.  
  32. extern int sndBufSize ;
  33. extern char * sndBuf1 ;
  34. extern char * sndBuf2 ;
  35.  
  36. #define    EXE_COLOR            14        /* 実行・再生時のコマンド表示カラー */
  37. #define    MOJI_COLOR            8        /* メッセージ表示カラー */
  38.  
  39. #define    OUT_OF_MEMORY        7
  40. #define    ILLIGAL_FILENAME    55
  41. #define    ILLIGAL_DATA        58
  42. #define    CANT_LOAD            1
  43. #define    CANT_SAVE            2
  44.  
  45.     /* SNDファイルのヘッダの構造体の型を定義 */
  46.  
  47. typedef struct
  48. {
  49.     char                name[8] ;        /* サウンドネーム */
  50.     unsigned int        id ;            /* サウンドID */
  51.     unsigned int        length ;        /* データ幅 */
  52.     unsigned int        looppoint ;        /* ループポイント */
  53.     unsigned int        looplength ;    /* ループレングス */
  54.     unsigned short int    freq ;             /* サンプリング周波数f(Kz)*0x62 */
  55.       signed short int    adjust ;        /* 原音の補正値 */
  56.     unsigned char        note ;            /* 原音の音階 */
  57.     unsigned char        reserve1 ;        /* リザーブ */
  58.     unsigned short int    reserve2 ;        /* リザーブ */
  59.  
  60. } SNDHEAD ;
  61.  
  62.  
  63.